package study.member.sungil.oop2.overriding;

public class PointTest {
	
	public static void main(String[] args) {
		Point3D p3d = new Point3D();
		System.out.println(p3d.getLoaction());
		
		Point p = (Point)p3d;
		System.out.println(p.getLoaction()); //흠 모르겠어
		
	}

}
